package cn.lx.es.query.processor;

import org.elasticsearch.index.query.BoolQueryBuilder;

import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

/**
 * @author wcy
 * @version 1.0
 * @description: 搜索注解处理器
 * @date 2025-07-02 下午1:20
 */
public interface SearchAnnotationProcessor<A extends Annotation> {
    void process(A annotation, Field field, Object value, BoolQueryBuilder boolQueryBuilder);
    Class<A> getAnnotationType();
}
